package com.ld.collegetask.beans;

/**
 * Created by 樊海波 on 2017/9/21.
 */

public class MemberCashBean {
    private Integer cashId;
    private String cashamount;
    private String cashtime;
    private String cstatus;
    private String cstatustime;

    public Integer getCashId() {
        return cashId;
    }

    public void setCashId(Integer cashId) {
        this.cashId = cashId;
    }

    public String getCashamount() {
        return cashamount;
    }

    public String getCashamount_1() {
        return "-"+cashamount;
    }

    public void setCashamount(String cashamount) {
        this.cashamount = cashamount;
    }

    public String getCashtime() {
        return cashtime.split("\\.")[0];
    }

    public void setCashtime(String cashtime) {
        this.cashtime = cashtime;
    }

    public String getCstatus() {
        return cstatus;
    }

    public String getCstatus_1() {
        String str;
        if (cstatus.equals("1")) {
            str = "提现成功";
        } else {
            str = "提现失败";
        }
        return str;
    }

    public void setCstatus(String cstatus) {
        this.cstatus = cstatus;
    }

    public String getCstatustime() {
        return cstatustime;
    }

    public void setCstatustime(String cstatustime) {
        this.cstatustime = cstatustime;
    }
}
